<template>
  <div class="home">
    <homeNav></homeNav>
  </div>
</template>

<script>
import {login, getList} from 'api/login'
import homeNav from './HomeNav'
export default {
  name: 'HelloWorld',
  components: {
    homeNav
  },
  data () {
    return {
      getValue: ''
    }
  },
  mounted () {
    login().then(res => {
      this.getValue = res.value
    })
    getList().then(res => {
      console.log(res.data)
    })
  }
}
</script>

<style scoped lang="less">
.home {
  min-width: 1200px;
  h1 {
    color: #2f2f2f;
  }
}
</style>
